package homework_08;
/**
 * 员工类，姓名，职业，工作，工作方法
 */

import org.w3c.dom.ls.LSOutput;

import java.util.Arrays;

public abstract class Emp {
    private String name;
    private String job;
    private String work;

    public Emp(){

    }

    public Emp(String name,String job,String work){
        this.name = name;
        this.job = job;
        this.work = work;
    }

    public String getName() {
        return name;
    }

    public String getJob() {
        return job;
    }

    public String getWork() {
        return work;
    }

    public abstract void working();
}
